import numpy  as np

print(f"numpy.version={np.__version__}")

#create an array
a = np.array([1,2,3,4,5])
print(a)

#1d array process
a1 = a*0.5+3 

print(a1)

#create a 2D array
b = np.array([[1,2,3],[4,5,6]])
print(b)

print("a1 = a1*0.5 +3")

#1d array process
print("myb = mya+1")
mya = np.array([1,2,3])

myb = [c+1 for c in mya]
print(myb)